Northwoods.GoXam.Model Namespace : GraphModel<NodeType,NodeKey> Class |
The following tables list the members exposed by GraphModel<NodeType,NodeKey>.
Name | Description | |
---|---|---|
GraphModel<NodeType,NodeKey> Constructor | The default constructor produces an empty model. |
Name | Description | |
---|---|---|
DataFormat | Gets or sets the format of this model's data. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
FromNodesPath | Gets or sets a property path that that specifies how to get the collection of keys of node data from which links come. | |
GroupNodePath | Gets or sets a property path that that specifies how to get the key for "container" or group node data of a node data object. | |
HasUndoManager | Gets or sets a flag that enables or disables support for undo and redo. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
IsChangingModel | This property is true during a call to ChangeModel, indicating a change happening due to an undo or a redo. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
IsInTransaction | This property is true after a StartTransaction and before a corresponding CommitTransaction or RollbackTransaction. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
IsModified | Gets or sets whether this model is considered changed from an earlier state. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
MemberNodesPath | Gets or sets a property path that that specifies how to get a list of keys for the "member" nodes of a group node data object. | |
Modifiable | Gets or sets whether various model-changing methods are enabled. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
Name | A name for this model. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
NodeCategoryPath | Gets or sets a property path that that specifies how to find the category of a node data. | |
NodeIsGroupPath | Gets or sets a property path that that specifies how to find out whether a node data is also a "container" group. | |
NodeKeyIsNodeData | Gets or sets whether all node data are also their own keys. | |
NodeKeyPath | Gets or sets a property path that that specifies how to get the key for node data. | |
NodeKeyReferenceAutoInserts | Gets or sets whether a NodeKey reference, when NodeKeyIsNodeData is true, automatically inserts the node into NodesSource. | |
NodesSource | Gets or sets the collection of node data items for the model. | |
SkipsUndoManager | Gets or sets a flag that tells OnChanged whether it should notify any UndoManager that a change has occurred. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
ToNodesPath | Gets or sets a property path that that specifies how to get the collection of keys of node data to which links go. | |
UndoManager | Gets or sets the UndoManager for this model. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
ValidCycle | Specify what kinds of graphs this model allows. |
Name | Description | |
---|---|---|
Initializing | Gets or sets whether the model is being constructed or re-constructed. (Inherited from Northwoods.GoXam.Model.DiagramModel) |
Name | Description | |
---|---|---|
AddCollectionCopy | Copy existing node data and add to this model. | |
AddFromNodeKey | Add a "from" node data's key value to a node data's list of nodes from which links come. | |
AddLink | Create a link between two nodes. | |
AddMemberNodeKey | Add a "member" node data's key value to a node data's list of "members". | |
AddNode | Add a node data to NodesSource. | |
AddNodeCopy | Add a copy of a node data to this model. | |
AddToNodeKey | Add a "to" node data's key value to a node data's list of nodes to which links go. | |
ChangeModel | This is called during an Undo or a Redo to actually make state changes to this model or to this model's data. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
ClearUnresolvedReferences | Forget all unresolved delayed or forward references. | |
CommitTransaction | Call the UndoManager's CommitTransaction method. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
CreateCopyDictionary | Create an ICopyDictionary initialized for this model. | |
CreateDataCollection | Create an empty IDataCollection for this model. | |
CreateInitializedCopy | Make a copy of this model, without sharing the NodesSource collection. | |
DoFromNodeKeyAdded | This should be called when a "from" node data key has been added to the collection of "from" node keys. | |
DoFromNodeKeyRemoved | This should be called when a "from" node data key has been removed from the collection of "from" node keys. | |
DoFromNodeKeysChanged | This should be called when a node data's list of "from" nodes has been replaced. | |
DoGroupNodeChanged | This should be called when a node data's membership in a group may have changed. | |
DoMemberNodeKeyAdded | This should be called when a "member" node data key has been added to the collection of "member" node keys. | |
DoMemberNodeKeyRemoved | This should be called when a "member" node data key has been removed from the collection of "member" node keys. | |
DoMemberNodeKeysChanged | This should be called when a node data's list of "member" nodes has been replaced. | |
DoNodeAdded | This should be called when a node data object is added to the NodesSource collection. | |
DoNodeCategoryChanged | This should be called when a node data's category value may have changed. | |
DoNodeKeyChanged | This should be called when a node data's key value may have changed. | |
DoNodeRemoved | This should be called when a node data object is removed from the NodesSource collection. | |
DoToNodeKeyAdded | This should be called when a "to" node data key has been added to the collection of "to" node keys. | |
DoToNodeKeyRemoved | This should be called when a "to" node data key has been removed from the collection of "to" node keys. | |
DoToNodeKeysChanged | This should be called when a node data's list of "to" nodes has been replaced. | |
FindNodeByKey | Given a key, find the node data with that key. | |
GetCategoryForNode | This method gets the category of a node. | |
GetConnectedNodesForNode | Return a sequence of node data that are directly connected to a given node, in either direction. | |
GetFromNodesForNode | Return a sequence of node data that are directly connected by links going into a given node. | |
GetGroupForNode | Return the container group node data for a given node data, if there is one. | |
GetIsGroupForNode | This predicate is true if a given node data may be a group (i.e. a container) of other nodes. | |
GetMemberNodesForGroup | Return a sequence of node data that are immediate members of a given node data. | |
GetNodeType | Return the NodeType. | |
GetToNodesForNode | Return a sequence of node data that are directly connected by links coming out from a given node. | |
IsLinked | This predicate is true if there is a link from one node data to another one. | |
IsLinkValid | This predicate is true if adding a link between two nodes would result in a valid graph. | |
IsMember | This predicate is true if the membernodedata is a member of the groupnodedata container group. | |
IsMemberValid | This predicate is true if adding membernodedata to a group node (groupnodedata) would result in an invalid graph. | |
IsNodeData | This predicate is true if the argument is a node data in this model. | |
IsNodeType | This predicate is true when the argument is an instance of NodeType. | |
IsRelinkValid | This predicate is true if adding a link between two nodes after removing an existing one would result in a valid graph. | |
Load | Overloaded. Given a Linq for XML XContainer holding node data, replace this model's NodesSource collection with a collection of new node data. | |
RaiseChanged | Raise a Changed event, given a ModelChangedEventArgs. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
RaisePropertyChanged | Overloaded. Raise a Changed event, given before and after values for a particular property. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
RemoveFromNodeKey | Remove a "from" node data's key value from a node data's list of nodes from which links come. | |
RemoveLink | Remove any link between two nodes. | |
RemoveMemberNodeKey | Remove a child node data's key value from a group node data's list of "member" key values. | |
RemoveNode | Remove a node data from NodesSource. | |
RemoveToNodeKey | Remove a "to" node data's key value from a node data's list of nodes to which links go. | |
ResolveAllReferences | Cause ResolveNodeKey to be called on each known delayed or forward node reference. | |
RollbackTransaction | Call the UndoManager's RollbackTransaction method. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
Save<NodeDataType> | Generate a Linq for XML XElement holding all of the node data. | |
SetFromNodeKeys | Replace a node data's list of "from" node key values. | |
SetGroupNodeKey | Change a node data so that it refers to a different container group node data, by node key. | |
SetMemberNodeKeys | Replace a node data's list of "member" key values. | |
SetToNodeKeys | Replace a node data's list of "to" node key values. | |
StartTransaction | Call the UndoManager's StartTransaction method. (Inherited from Northwoods.GoXam.Model.DiagramModel) |
Name | Description | |
---|---|---|
AugmentCopyCollection | Override this method to add more (related) data to be copied. | |
AugmentCopyDictionary | Override this method to avoid copying some data, or to change how copied references are resolved. | |
ChangeDataValue | Overridden. This is called during undo or redo to effect state changes to model data. | |
ChangeModelValue | Overridden. This is called during undo or redo to effect state changes to this model. | |
CheckLinkValid | This predicate is true if adding a link between two nodes/ports would result in a validly structured graph. | |
CheckMemberValid | This predicate is true if adding a node to a group node would result in an invalid graph. | |
CopyNode1 | This is the first pass of copying node data, responsible for constructing a copy and copying most of its properties. | |
CopyNode2 | This is the second pass of copying node data, responsible for fixing up references to other objects. | |
DeleteFromNodeKey | This method actually implements the modification of a node data so that it's collection of "from" node data keys does not include a given fromkey. | |
DeleteLink | This method actually implements the removal of a link between two nodes. | |
DeleteMemberNodeKey | This method actually implements the modification of a node data so that it's collection of children node data does not include a given memberkey. | |
DeleteNode | This method actually implements the removal of a node data from the NodesSource collection. | |
DeleteToNodeKey | This method actually implements the modification of a node data so that it's collection of "to" node data keys does not include a given tokey. | |
FindCategoryForNode | Find the category of a node data. | |
FindFromNodeKeysForNode | Find the collection of "from" node key values. | |
FindGroupKeyForNode | Find containing group node key for a given node data, if any. | |
FindIsGroupForNode | Find whether a node data is a group or container of other nodes. | |
FindKeyForNode | Find the key for node data. | |
FindMemberNodeKeysForNode | Find the list of keys of the children nodes for a node data object. | |
FindToNodeKeysForNode | Find the collection of "to" node key values. | |
HandleNodePropertyChanged | This is the System.ComponentModel.INotifyPropertyChanged event handler for node data. | |
InsertFromNodeKey | This method actually implements the modification of a node data so that it's collection of "from" node data keys includes a given fromkey. | |
InsertLink | This method actually implements the addition of a link between two nodes. | |
InsertMemberNodeKey | This method actually implements the modification of a node data so that it's collection of member node data includes a given memberkey. | |
InsertNode | This method actually implements the addition of a node data to the NodesSource collection. | |
InsertToNodeKey | This method actually implements the modification of a node data so that it's collection of "to" node data keys includes a given tokey. | |
MakeNodeKeyUnique | This method is called when a duplicate key has been found. | |
ModifyFromNodeKeys | This method actually implements the replacement of a node data's collection of "from" node keys. | |
ModifyGroupNodeKey | This method actually implements the modification of a node data so that its reference to a containing group node data (if any) is the given groupkey. | |
ModifyMemberNodeKeys | This method actually implements the replacement of a group node data's collection of member node keys. | |
ModifyToNodeKeys | This method actually implements the replacement of a node data's collection of "to" node keys. | |
OnChanged | Raises the Changed event. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
Reinitialize | Reset the fields that should not be shared from a copy created by System.Object.MemberwiseClone. (Inherited from Northwoods.GoXam.Model.DiagramModel) | |
ResolveNodeKey | This is called repeatedly by ResolveAllReferences, once for each known delayed or forward node reference. |
Name | Description | |
---|---|---|
Changed | The Changed event is raised whenever the model is modified. (Inherited from Northwoods.GoXam.Model.DiagramModel) |